<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>学生信息管理系统登录</title>
    <script type="text/javascript">
        function resetValue() {
            document.getElementById("userName").value = "";
            document.getElementById("password").value = "";
        }
    </script>
</head>
<body>
<form action="login" method="post">
    用户名：
    <input type="text" value="${userName}" name="userName" id="userName"/>
    密 码：
   <input type="password" value="${password}" name="password" id="password"/>
   <input type="submit" value="登录"/></td>
   <input type="button" value="重置" onclick="resetValue()"/>
    <span style="color: red; ">${error}</span>
</form>
</body>
</html>